<?php

namespace App\Http\Controllers\Api\V1\GetRequest;

use App\Http\Controllers\Controller;
use App\Models\User;

class PhoneController extends Controller
{
    public function index()
    {
        $phone = \request('phone');
        $res = User::where('phone',$phone)->exists();
        return $this->responseJson(0,$res,'success');

    }
}
